package com.yp.infrastructure.demo.domain.mapper;


import com.yp.infrastructure.demo.model.po.PartnerShipPo;
import com.yp.infrastructure.mdb.mapper.CommonMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PartnerShipMapper extends CommonMapper<PartnerShipPo>
{

    @Select("select * from partner_ship where owner_id = #{owner} and type_id = #{typeId}")
    List<PartnerShipPo> getList(@Param("typeId") String typeId,  @Param("owner") String owner);

}
